#!/bin/bash
# npm i code-server -g
# export PASSWORD="设置登录密码"
# ./code-server --host="0.0.0.0"
# docker run -it -d -p 8080:8080 \
# -v "$PWD:/home/coder/project" \
# -e PASSWORD='设置你的登录密码' \
# -u "$(id -u):$(id -g)" \
# codercom/code-server:latest

git clone https://github.com/coder/code-server.git
cd code-server/
sh install.sh 

#echo "vim ~/.config/code-server/config.yaml"
# ./code-server
